//
//  TKIMXmppRequestHelper.h
//  TKIM_Thinkive
//
//  Created by liupm on 16/9/19.
//  Copyright © 2016年 liupm. All rights reserved.
//

#import <Foundation/Foundation.h>
@interface TKIMXmppRequestVo : TKIMRequestVo
@property(nonatomic,strong) TKIMNSXMLElement *iq;
@end

@interface TKIMXmppRequestHelper : NSObject

- (instancetype)initWithXmppStream:(XMPPStream *)xmppStream;

/**
 *  @Author lpm, 15-07-23 13:07:55
 *
 *  @brief  发送post请求
 *
 *  @param requesVo 请求对象
 *  @param callBack 回调
 */
-(void)post:(TKIMXmppRequestVo *)requestVo callBack:(TKIMCallBack)callBack;


/**
 *  @Author lpm, 15-12-16 11:12:07
 *
 *  @brief  取消所有请求
 */
-(void)cancelAllRequets;

@end

